﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KG.SystemService.NodeDTO
{

    public class InputAdd
    {
        /// <summary>
        /// 标签
        /// </summary>
        public string[] Labels { get; set; }

        public string Properties { get; set; }

        public void Check()
        {
            if (Labels.Length==0)
            {
                throw new Exception("标签不能为空");
            }
            if (Properties == null)
            {
                throw new Exception("属性信息不能为空");
            }
        }
    }


}
